package pers.zc.activiti.aop.demo;

import org.springframework.stereotype.Component;

/**
 * @description 配置demo
 * @Author Lin FuYuan
 * @date 2020/6/9
 */
@Component
public class Config {

    public TestAop run(Integer integer){
        switch(integer){
            case 1: return new TestOne();
            case 2: return new TestTwo();
            case 3: return new TestThree();
            case 4: return new TestFour();
            default :return null;
        }

    }

}
